home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20031118-20041115
/
000157_collector59ca@yahoo.com_Tue Mar 30 09:56:52 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2004-11-14
|
2KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.media.kyoto-u.ac.jp!cyclone.bc.net!news.glorb.com!postnews2.google.com!not-for-mail
From: collector59ca@yahoo.com (Klein Bill)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Trying to connect to a device console via COM 1 (no dialing modem)
Date: 30 Mar 2004 06:08:30 -0800
Organization: http://groups.google.com
Lines: 49
Message-ID: <9c258be2.0403300608.46d5097f@posting.google.com>
References: <9c258be2.0403292240.2e00c890@posting.google.com>
NNTP-Posting-Host: 80.74.106.236
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1080655711 28909 127.0.0.1 (30 Mar 2004 14:08:31 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Tue, 30 Mar 2004 14:08:31 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14869
Corrections:
I've updated the script to (see capitals):
*****************************
SET MODEM TYPE NONE
set input echo on
def tsprompt >
set carrier-watch off
set line 1
set serial 8n1
set speed 115200
OUTPUT \13
if def tsprompt {
for \%i 1 2 1 {
input 1 \m(tsprompt)
if success break
output \13
} lineout show config ;command to send
}
*****************************************
And still Kermit exhibits the same behavior.
I've made a FINAL UPDATE (the next one -> see below)
****************************************
set input echo on
set modem type none
set carrier-watch off
set line 1
set serial 8n1
set speed 115200
output \13
input 2 console>
lineout show config
INPUT -1 STRING_THAT_NEVER_COMES
*****************************************
And this time Kermit showed me the full interaction in command mode.
Why isn't it possible to obtain the interaction dialog in command mode
without having an endless waiting condition at the end of the script ?
Why set input echo on is not enough? If it is possible to get the
interaction in command mode without the "STRING_THAT_NEVER_COMES" part
I'd like to know the way.
Please anybody help.
Thanks in advance